@import '../../../core/index.less';

.orin-w-publicguide-root {
    padding: 0;
    margin: 0;
    .public-guide-mask {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: auto;
        background: rgba(0, 0, 0, 0.6);
        .public-guide-wrapper {
            display: flex;
            flex-direction: column;
            width: 490/@remScale;
            height: 290/@remScale;
            border-radius: 6/@remScale;
            background: @white;
            overflow: hidden;
            .public-guide-content {
                flex: 1;
                width: 100%;
                background: -webkit-gradient(linear, 0 0, 0 100%, from(#AFB8BD), to(#DFE4E7));
                display: flex;
                .public-content-left {
                    width: 299/@remScale;
                    .left-image {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        vertical-align: middle;
                    }
                }
                .public-content-right {
                    flex: 1;
                    position: relative;
                    .right-content {
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        .qr-code {
                            width: 106/@remScale;
                            height: 106/@remScale;
                            border-radius: 8/@remScale;
                            margin-bottom: 16/@remScale;
                            box-shadow: 0 4/@remScale 8/@remScale 0 rgba(0, 0, 0, 0.1);
                        }
                        .text {
                            color: #999999;
                            font-size: 13/@remScale;
                            &.pc {
                                display: block;
                                @media (max-width: @max1) {
                                    display: none;
                                }
                            }
                            &.phone {
                                display: none;
                                @media (max-width: @max1) {
                                    display: block;
                                }
                            }
                        }
                    }

                }
            }
            .public-guide-footer {
                height: 80/@remScale;
                width: 100%;
                padding: 0 16/@remScale;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                .confirm-btn {
                    font-size: 14/@remScale;
                    width: 96/@remScale;
                    height: 40/@remScale;
                    background: @light-blue-color;
                    border-radius: 4/@remScale;
                    .btnLightenHover(@light-blue-color);
                }
            }
            @media (max-width: @max1) {
                width: 300/@remScale;
                height: auto;
                .public-guide-content {
                    flex-direction: column;
                    background: @white;
                    .public-content-left {
                        height: 225/@remScale;
                        width: 100%;
                    }
                    .public-content-right {
                        flex: 0 0 117/@remScale;
                        .right-content {
                            bottom: auto;
                            top: -54/@remScale;
                        }
                    }
                }

                .public-guide-footer {
                    height: 60/@remScale;
                    align-items: flex-start;
                    justify-content: center;
                }
            }
        }
    }
}